package com.sxt.entity;

/**
 * 账户信息类
 * @author lovemanai
 *
 */
public class Account {
	/*
	 * 账户 信息
	 */
	private String accountNo;//账号
	private String password;//密码
	private double money;//存款
	
	/*
	 * 用户基本信息
	 */
	private String userName;//用户名
	private String id;//身份证号
	private String phoneNo;//手机号
	private String address;//地址
	
	public Account(String accountNo, String password, double money,
			String userName,String id, String phoneNo, String address) {
		this.accountNo = accountNo;
		this.password = password;
		this.money = money;
		this.userName = userName;
		this.id = id;
		this.phoneNo = phoneNo;
		this.address = address;
	}

	public Account(String accountNo, String password) {
		this.accountNo = accountNo;
		this.password = password;
	}

	public Account(String accountNo) {
		this.accountNo = accountNo;
	}
	
	

	public Account(String accountNo, double money) {
		this.accountNo = accountNo;
		this.money = money;
	}

	
	
	public Account(String password, String phoneNo, String address) {
		this.password = password;
		this.phoneNo = phoneNo;
		this.address = address;
	}

	public Account() {
		
	}

	public String getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "Account [accountNo=" + accountNo + ", password=" + password
				+ ", money=" + money + ", userName=" + userName + ", id=" + id
				+ ", phoneNo=" + phoneNo + ", address=" + address + "]";
	}
	
	
	
}

